const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar, // 头像
  name: state => state.user.name, // 用户名称
  userId: state => state.user.userInfo.userId

}
export default getters
